package edu.ucdavis.gwt.gis.client.toolbar.menu;

import com.google.gwt.user.client.ui.Image;

import edu.ucdavis.gwt.gis.client.toolbar.button.PrintButton;

public class PrintMenu extends ToolbarMenu {

	private PrintButton print = new PrintButton(); 
	
	private String text = "Print Map";

	public void setText(String s) {
		text = s;
		print.setText(s);
	}
	
	public PrintMenu() {
		addItem(print);
	}
	
	public PrintMenu(String t) {
		print.setText(t);
		addItem(print);
	}

	@Override
	public Image getIcon() {
		return null;
	}

	@Override
	public String getText() {
		return text;
	}

}
